/**
 * Created by liqing on 16/1/23.
 */
$(function(){
    var mychart=echarts.init(document.getElementById('echart'));
    var option = {
            tooltip: {
                showContent:false
            },
            legend: {
                show:false,
            },
            series: [
                {
                    name:'',
                    type:'pie',
                    radius: ['60%', '90%'],
                    center:[125,125],
                    avoidLabelOverlap: false,
                    hoverAnimation:false,
                    color:['#ffae3f','#949fb1','#56d199','#cf6888'],
                    label: {
                        normal: {
                            show: false,
                            position: 'center'
                        },
                        emphasis: {
                            show: false,
                            textStyle: {
                                fontSize: '20',
                                fontWeight: 'bold'
                            }
                        }
                    },
                    labelLine: {
                        normal: {
                            show: false
                        }
                    },
                    data:[
                        {value:1000000, name:'企业活期'},
                        {value:1000000, name:'企业定期'},
                        {value:1000000, name:'可用余额'},
                        {value:1000000, name:'冻结金额'},

                    ]
                }
            ]
        };
    mychart.setOption(option);
})